package com.mongdbtokuduswagger.service;

import com.mongdbtokuduswagger.entity.SwaggerTimeEntity;

import java.text.ParseException;

/**
 * 为swagger准备的接口类
 * @author Daft_V
 */
public interface MongodbSyncToKuduSwaggerService {
    /**
     * Mongodb数据同步到Kudu
     * @param swaggerTimeEntity 时间范围实体类
     * @throws ParseException
     */
    Boolean syncToKudu(SwaggerTimeEntity swaggerTimeEntity) throws ParseException;
    Boolean deleteMongodb(SwaggerTimeEntity swaggerTimeEntity);
}
